package org.dynobjects.core.xml;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;

public class Model implements Serializable {

	private String name = null;

	private String className = null;

	private Collection attribute = new ArrayList();

	private String _extends;

	public Collection getAttribute() {
		return attribute;
	}

	public void setAttribute(Collection attributes) {
		this.attribute = attributes;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public void addAttribute(Attribute attribute){
		this.attribute.add(attribute);
	}

	public String getExtends() {
		return _extends;
	}


	public void setExtends(String _extends) {
		this._extends = _extends;
	}

}
